#!/bin/bash
set -Eeuo pipefail
cd $(dirname "$(readlink -f "$0")")
chmod +x ./configure
./configure --with-stream  --with-http_ssl_module --prefix=../nginx
make -j`cat /proc/cpuinfo |grep processor | wc -l`
make install